Update quickstart scripts#365
Draft
lukekim wants to merge 12 commits into
Draft
Conversation
…key and endpoints - Removed hardcoded API keys and URLs in Go, .NET, Java, Python, and JavaScript samples. - Added environment variable checks for SPICE_API_KEY, SPICE_HTTP_URL, and SPICE_FLIGHT_URL. - Updated README files to reflect new usage instructions and prerequisites. - Created new cloud query samples for Go and Python. - Added default query script for CLI sample to demonstrate cloud querying. - Improved error handling and output formatting across samples.
…in client SDK samples
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces new samples and improves documentation for connecting to Spice.ai Cloud from various SDKs and tools. The main focus is on providing clear quick start guides, environment variable configuration, and example scripts for cURL, Spice CLI, Go, .NET, Java, and Rust. The changes make it easier for developers to run SQL queries against Spice.ai Cloud and understand the required setup for each language/tool.
New Cloud Sample Scripts and Documentation
curl-sampleandspice-cli-sampledirectories with quick start scripts and detailed README guides for querying Spice.ai Cloud using cURL and Spice CLI, including manual command examples and endpoint configuration. [1] [2] [3] [4] [5] [6]Improved SDK Sample Documentation
gospice-sdk-sample), .NET (spice-dotnet-sdk-sample), Java (spice-java-sdk-sample), and Rust (spice-rs-sdk-sample) SDK samples to clearly separate local and cloud usage, add quick start sections, and show expected output/logs for each step. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14]Cloud Environment Variable Support in SDK Samples
cloud/main.go), .NET (Cloud.cs), and Java (Cloud.java) to read API key and endpoint configuration from environment variables, improving usability and security for cloud connections. [1] [2] [3]Build and Run Instructions for Multiple Languages
Sample Output and Logs for User Guidance